// 本地存储token
const tokenKey = "token_key";
export const setToken = (token) => {
  localStorage.setItem(tokenKey, token);
};
// 本地删除token
export const removeToken = () => {
  localStorage.removeItem(tokenKey);
};
// 本地获取token
export const getToken = () => {
  return localStorage.getItem(tokenKey);
};
